package bean;

public class Student {
   private int sid;
   private String sname;
   private String sex;
   private int age;
   private String degree;
   private String pic;
   private String mark;

    public Student(int sid) {
        this.sid = sid;
    }

    public Student(String sname, String sex, int age, String degree, String pic, String mark) {
        this.sname = sname;
        this.sex = sex;
        this.age = age;
        this.degree = degree;
        this.pic = pic;
        this.mark = mark;
    }

    public Student(int sid, String sname, String sex, int age, String degree, String pic, String mark) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.age = age;
        this.degree = degree;
        this.pic = pic;
        this.mark = mark;
    }

    public Student() {
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", degree='" + degree + '\'' +
                ", pic='" + pic + '\'' +
                ", mark='" + mark + '\'' +
                '}';
    }
}
